package com.five.community.mapper;
import com.five.community.bean.Chargeproject;
import com.five.community.bean.vo.ChargeprojectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChargeprojectMapper {
    //查询收费项目所有信息
    List<ChargeprojectVo> queryAll() throws Exception;
    //插入一条收费项目信息
    void InsertChargeproject(Chargeproject chargeproject)throws Exception;
    //删除一条ChargeprojectorVo数据信息
    void DeleteChargeprojectVoById(int id)throws Exception;
    //修改一条ChargeprojectorVo数据信息
    void UpdateChargeproject(Chargeproject chargeproject)throws Exception;
    //根据id查询数据(用于根据id修改信息)
    Chargeproject selectById(int id) throws Exception;
    //根据name查询收费记录
    List<ChargeprojectVo> selectbyname(String name) throws Exception;

    List<Chargeproject> selectAllChargeproject() throws Exception;
}
